package com.example.admin_oa.model.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.example.comment_oa.pojos.SysRole;
import com.example.comment_oa.pojos.SysUser;

import java.util.List;
import java.util.Map;

/**
* @author cjl
* @description 针对表【sys_user】的数据库操作Service
* @createDate 2022-10-18 16:26:34
*/
public interface SysUserService extends IService<SysUser> {
    //最新账号
    SysUser newOne();
    //login
    SysUser login(String username,String userPassword);
    //查用户的角色
    List<SysRole> selectByUserNo(String userNo);
    //用户新增角色
    int updateUserRole(String [] list);
}
